# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test02
# Description:
# Author:       98745
# Date:         2019/1/16
#-------------------------------------------------------------------------------

age = -1

if age>0 and age<=12:
    if age >0 and age <=6:
        print("幼儿")
    else:
        print("小学生")
elif age>12 and age<=20:
    print("少年")
elif age >18 and age <= 60:
    print("成人")
elif age<0 or age >120:
    print("输入错误")
else:
    print("老人")

